4.4 Bootloaders
The application code and data section contains the final-stage bootloader, which is the most complex component among the primary segments. It is precisely this stage of the bootloader that imports the operating system kernel into physical memory and ultimately transfers system control to the operating system itself.
Different operating systems can implement different bootloaders, and a single bootloader can also be adapted to target diverse operating systems. The most prevalent bootloaders deployed across desktop systems include:
-
NTLDR
-
BOOTMGR
-
GRUB2
-
LILO (Linux Loader)
Conversely, the most popular bootloaders utilized within contemporary embedded operating system architectures include:
-
U-BOOT
-
BAREBOX
-
REDBOOT
NTLDR is utilized to boot legacy operating systems including Windows NT, Windows 2000, and Windows XP. A text configuration file named boot.ini resident inside the boot partition contains the operating system selection list alongside the physical storage coordinates of each instance. NTLDR must interact with NTDETECT.COM to collect hardware profiles before launching the operating system.
BOOTMGR is implemented to boot Windows Vista and subsequent Windows operating system releases. The available operating system options are maintained within a structured database file named BCD (Boot Configuration Data) stored in the active system partition. This bootloader operates independently and does not require secondary helper applications to orchestrate the kernel launch.
GRUB is capable of loading a vast, diverse matrix of operating systems and stands out as the most dominant, prevalent bootloader in the Linux ecosystem. The primary configuration script containing boot parameters is maintained within the grub.cfg file (for GRUB2 structures) or the menu.lst file (for legacy GRUB configurations).
U-BOOT is a powerful open-source bootloader extensively deployed across embedded environments. Globally known as "Das U-Boot," which is an acronym for the Universal Boot Loader, it provides broad processor architecture support for 68k, ARM, Blackfin, MicroBlaze, MIPS, Nios, SuperH, PowerPC (PPC), RISC-V, and x86 silicon targets. It supports a comprehensive taxonomy of storage interfaces—including SD cards, SATA drives, SCSI peripherals, EEPROMs, parallel/serial NOR flash, raw NAND flash, eMMC blocks, and USB storage volumes—alongside native network-based boot implementations.
BAREBOX is an alternative open-source bootloader framework supporting diverse architectures like ARM, x86, MIPS, and RISC-V. Initiated in 2007 as a fork derived from U-BOOT, it integrates multiple foundational components and design paradigms directly from the Linux kernel source code, resulting in a highly modular, Linux-style embedded boot platform.
REDBOOT is an acronym for Red Hat Embedded Debug and Bootstrap Firmware. It leverages the underlying Hardware Abstraction Layer (HAL) of the eCos real-time operating system to deliver a robust bootstrap environment for embedded systems. It supports serial line and network-based image downloading while providing complete trapping hooks for interactive GDB debugging. Furthermore, it exposes a comprehensive command-line interface that allows developers to execute manual firmware downloads and flash programming operations.
Because U-BOOT stands as the most pervasive, feature-rich, and industrially proven bootloader platform across contemporary embedded systems engineering, the subsequent chapter focuses explicitly on U-BOOT compiled for the NXP i.MX6Solo applications processor to systematically analyze its runtime execution pipeline, source code architecture, and core functional capabilities.